glgentexturesext
- Man Page
glGenTexturesEXT(3G) OpenGL Reference glGenTexturesEXT(3G)
NAME
glGenTexturesEXT - generate texture names
C SPECIFICATION
void glGenTexturesEXT( GLsizei n,
GLuint *textures )
PARAMETERS
n The number of texture names to be generated.
textures An array in which the generated texture names are stored.
DESCRIPTION
glGenTexturesEXT returns n texture names in textures. There is no
guarantee that the names form a contiguous set of integers; however, it
is guaranteed that none of the returned names was in use immediately
before the call to glGenTexturesEXT.
The generated textures have no dimensionality; they assume the
dimensionality of the texture target to which they are first bound (see
glBindTextureEXT).
Texture names returned by a call to glGenTexturesEXT will not be returned
by subsequent calls, unless they are first deleted with
glDeleteTexturesEXT.
glGenTexturesEXT is not included in display lists.
NOTES
glGenTexturesEXT is part of the EXT_texture_object extension. See
glIntro for more information about using extensions.
ERRORS
GL_INVALID_VALUE is generated if n is negative.
GL_INVALID_OPERATION is generated if glGenTexturesEXT is executed between
the execution of glBegin and the corresponding execution of glEnd.
ASSOCIATED GETS
glIsTextureEXT
MACHINE DEPENDENCIES
RealityEngine, RealityEngine2, and VTX systems do not support texture
name sharing. Texture names are always local to the rendering context
which was active at the time the names were created. High Impact and
Maximum Impact systems do not currently support texture name sharing, but
this will be fixed in the next release.
Page 1
glGenTexturesEXT(3G) OpenGL Reference glGenTexturesEXT(3G)
SEE ALSO
glBindTextureEXT, glDeleteTexturesEXT, glGet, glGetTexParameter,
glTexImage1D, glTexImage2D, glTexImage3DEXT, glTexParameter.
Page 2